package com.example.loginstructuredemo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import com.example.loginstructuredemo.login.LoginActivity;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

		new Handler().postDelayed(new Runnable() {
			@Override
			public void run() {
				readyGo();
				finish();
			}
		},2000);

	}

	public void readyGo() {
		startActivity(new Intent(this, LoginActivity.class));
	}

}
